ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.Tools Namespace / ValidatorBase<T> Class / ValidateAndTrow Method
Object to validate

In This Topic
    ValidateAndTrow Method
    In This Topic
    Runs validation and throws a ValidationException if fail
    Syntax
    'Declaration
     
    Public Sub ValidateAndTrow( _
       ByVal obj As T _
    ) 
    public void ValidateAndTrow( 
       T obj
    )

    Parameters

    obj
    Object to validate
    Exceptions
    ExceptionDescription
    Validation failed
    See Also